Perform DNS Query Lookup
#Network
addr = net.hostbyname(name, [ppp], [clr])
Perform a DNS lookup for
name
.
Parameter
Type
Description
name
string
Name
ppp
boolean
Whether to use the PPP link
clr
boolean
Whether to clear the DNS entry before query